package com.bdmc.smokesensor.iservices;
import java.util.*;


import org.springframework.data.domain.Example;


public interface IBaseService<T> {
 
    public List<T> findAll();

    public T findOne(Example<T> example);

    public T findOneById(int id);

    public T save(T entity);

    public void deleteById(int id);
}
